<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<ul class="students">

</ul>
<script>
    let arr=['张三','李四','全蛋','王五'];
    //拼接字符串
    let html='';
    for(let i=0;i<arr.length;i++)
    {
        html=html+'<li>'+arr[i]+'</li>';
    }

    let ul=document.querySelector(".students");
    ul.innerHTML=html;

</script>
</body>
</html>